package com.yunatt.service;

import com.yunatt.model.EnrollInfoEntity;
import com.yunatt.model.PersonEntity;

import java.util.List;

public interface PersonService {


    int insert(PersonEntity record);

    PersonEntity selectByPrimaryKey(Long id);

    int updateByPrimaryKey(PersonEntity record);

    void deleteUserInfoFromDevice(Long enrollId,String deviceSn);

    List<PersonEntity> selectAll();

    void getSignature2(List<EnrollInfoEntity> enrollsPrepared, String deviceSn);

    void setUserToDevice2(String deviceSn);

    void setUsernameToDevice(String deviceSn);

    public void setUserToDevice(Long enrollId,String name,int backupnum,int admin,String records,String deviceSn);

}
